package io.renren.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@TableName("tb_brand")
public class ShopBrandEntity implements Serializable {

    @TableId
    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String name;

    /**
     * LOGO图片地址
     */
    private String image;

    /**
     * 首字母
     */
    private String letter;

}
